//没有return值 === return undefined
function sum(num1:number,num2:number){
  console.log(num1+num2);
}
sum(20,30)